package com.example.product.biz.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties("tree.elasticsearch")
public class ElasticsearchProperties {
    private String host;
    private int port;
}
